package com.cqjtu.drive.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @Author zxl
 * @Date 2024/6/6 12:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reservation {
    private String reserveId;
    private String sId;
    private String coId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date reserveTime;
    private Integer reserveAccept;
    private Integer reserveFinish;
    public String getReserveId() {
        return reserveId;
    }

    public void setReserveId(String reserveId) {
        this.reserveId = reserveId;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getCoId() {
        return coId;
    }

    public void setCoId(String coId) {
        this.coId = coId;
    }

    public Date getReserveTime() {
        return reserveTime;
    }

    public void setReserveTime(Date reserveTime) {
        this.reserveTime = reserveTime;
    }

    public Integer getReserveAccept() {
        return reserveAccept;
    }

    public void setReserveAccept(Integer reserveAccept) {
        this.reserveAccept = reserveAccept;
    }

    public Integer getReserveFinish() {
        return reserveFinish;
    }

    public void setReserveFinish(Integer reserveFinish) {
        this.reserveFinish = reserveFinish;
    }


}

